
class SystemitoolsGrailsPlugin {
    def version = 1.0
    def dependsOn = [:]
    def author = "Don Denoncourt"
    def authorEmail = "dondenoncourt@gmail.com"
    def title = "Grails Domain generator for System i tables."
    def description = '''\
Generate Grails Domain classes from legacy IBM System i tables.
It also installs scaffolding templates to handle assigned and composite keys.
For more information see: http://code.google.com/p/grails400utils/wiki/GrailsProjectPlugin
'''
    def doWithSpring = {
        // TODO Implement runtime spring config (optional)
    }
   
    def doWithApplicationContext = { applicationContext ->
        // TODO Implement post initialization spring config (optional)		
    }

    def doWithWebDescriptor = { xml ->
        // TODO Implement additions to web.xml (optional)
    }
	                                      
    def doWithDynamicMethods = { ctx ->
        // TODO Implement registering dynamic methods to classes (optional)
    }
	
    def onChange = { event ->
        // TODO Implement code that is executed when this class plugin class is changed  
        // the event contains: event.application and event.applicationContext objects
    }
                                                                                  
    def onApplicationChange = { event ->
        // TODO Implement code that is executed when any class in a GrailsApplication changes
        // the event contain: event.source, event.application and event.applicationContext objects
    }
}
